package com.baor.service.impl;

import com.baor.dao.DeviceSalesRentalRewardConfigDao;
import com.baor.domain.DeviceSalesRentalRewardConfig;
import com.baor.service.RewardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RewardServicempl implements RewardService {
    @Autowired
    DeviceSalesRentalRewardConfigDao deviceSalesRentalRewardConfigDao;

    @Override
    public int change(DeviceSalesRentalRewardConfig deviceSalesRentalRewardConfig) {
        int a =deviceSalesRentalRewardConfigDao.update(deviceSalesRentalRewardConfig,null);
        return a;
    }
}
